from PyQt6.QtWidgets import QMessageBox, QApplication
import sys


class SystemMismatchMessageBox(QMessageBox):
    def __init__(self):
        super(SystemMismatchMessageBox, self).__init__()
        self.setText("你的系统不匹配！")

        self.exec()


if __name__ == '__main__':
    app = QApplication(sys.argv)
    SystemMismatchMessageBox().show()
    sys.exit(app.exec())
